<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@taglib uri="/WEB-INF/dianning.tld" prefix="dianning"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="/css/top.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<link href="/css/index.css" rel="stylesheet" type="text/css" />
<link href="/css/vip.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/jquery.checkbox.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/popup.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" type="images/gif" href="animated_favicon1.gif" />
<title>点宁网[<dianning:webinfo type="area"/>分类信息]<dianning:webinfo type="area"/>免费发布信息<dianning:webinfo type="poweredby"/></title>
<meta name="Description" content="<dianning:webinfo type="area"/>分类信息网为您提供<dianning:webinfo type="area"/>分类信息，您可以免费发布和查询求职招聘,兼职,房屋出租,二手市场,生活服务,兼职,黄页等分类信息."/>
<meta name="Keywords" content="<dianning:webinfo type="area"/>免费发布信息, <dianning:webinfo type="area"/>分类信息, <dianning:webinfo type="area"/>信息港, <dianning:webinfo type="area"/>热线, <dianning:webinfo type="area"/>免费发布广告，<dianning:webinfo type="area"/>114"/>
</head>
<body>
<div class="bgtop">
<s:include value="/top.jsp" />
</div>

<div class="content">
<s:include value="/WEB-INF/jsp/user/left.jsp" />
<div class="vipr">
	  <h2>显示中的信息</h2>
	  <ul class="viprheight">
<DIV class=gr_info>

<DIV class=c></DIV>
<TABLE class=basetb border=0 cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR id=tablehead>
    <TH width="42">&nbsp; </TH>
    <TH>标题 </TH>
    <TH width="123" class=tit_cz>管理 </TH>
	</TR>
<s:iterator id="info" value="%{pageList.objectList}" status="st" >
  <TR id="display_<s:property value="#info.id"/>">
    <TD class=binp><INPUT id="infoid_<s:property value="#info.id"/>" value="<s:property value="#info.id"/>" type="checkbox" name="infoid"></TD>
    <TD>
      <DIV>
	  <A href="<s:property value="#info.smallChannel.displayurl"/>/<s:property value="#info.id"/>.shtml" target="_blank"><s:property value="#info.title"/></A>
<SPAN class=titletd>(
	   <A href="<s:property value="#info.smallChannel.gourl"/>" target=_blank><s:property value="#info.smallChannel.channelName"/></A>  	   
	   )</SPAN> 
<s:if test="#info.photonum>0">
	  <SPAN class=tu><s:property value="#info.photonum"/>图</SPAN><BR />
</s:if>
      <P class="titletd tc58"><s:date name="#info.addTime" format="yyyy-MM-dd HH:mm"/><CITE>|</CITE> 
      编号:<s:property value="#info.id"/>&nbsp; &nbsp;&nbsp;&nbsp; </P><SPAN 
    class=red></SPAN></DIV></TD>
    <TD class="cza czav"><A href="<s:property value="#info.smallChannel.upurl"/>?action=update&id=<s:property value="#info.id"/>" 
      target=_blank>修改</A></TD>
  </TR>
</s:iterator>
  <TR class=infotdno>
    <TD colSpan=4>&nbsp;</TD></TR></TBODY></TABLE>
<DIV class=c></DIV>
<DIV class=area_cz3>
<DIV id=page><SPAN id=ctl00_ListPager1></SPAN></DIV>
<SPAN 
style="COLOR: red" id=spanTipForReflash></SPAN><SPAN 
id=ctl00_cphMain_InfoFL1List1_UPager1>
<dianning:pages value="%{pageList.pages}"/>
</SPAN> </DIV>
<DIV class=c></DIV>
</DIV>
  </ul>
      <h3></h3>
    </div>
    </div>
<div class="content">
<s:include value="/foot.jsp" />
</div>
<script language="javascript">
$(document).ready(function(){
	//全选按钮
	$('#selectall').checkbox().checked("input[name=infoid]");
	//反选按钮
	$('#revert').checkbox().turnchecked("input[name=infoid]");
	//取出选中的值按钮
});
function deltecheckinfo()
{
	if (confirm('确认删除吗？')){
		var ids = $("input[name=infoid]").checkbox().val();
		if(ids.length>0){
		 $.get("info.action?action=dodels&ids=" + ids,null,function(data){window.location.reload();});
		}
	}
}
function delinfo(id)
{
  if (confirm('确认删除吗？')){
  $.get("info.action?action=dodel&id=" + id,null,function(data){$('#display_' + id).css({display:'none'});});
  }
}
function closeinfo(id)
{
  if (confirm('确认关闭吗？')){
  $.get("info.action?action=doclose&id=" + id,null,function(data){$('#display_' + id).css({display:'none'});});
  }
}
function refreshinfo(id){ 
		openshow('refresh_add.asp?id='+id,'贴子刷新提示',true,500,150,1);
}
function infoTop(a){
	$("iframe").css("height","0px");
	$("#frm_"+a).attr("src","info_top.asp?id="+a+"&temp=1"+(new Date).getTime().toString(36));
	$("#frm_"+a).css("height","270px")
}
</script>
</body>
</html>
